<!DOCTYPE html>
<html lang="en" >
<head>
    <meta charset="UTF-8" xmlns:th="http://www.thymeleaf.org">
    <title>上传</title>
</head>
<body>
<form th:action="@{/testDown}" method="post" enctype="multipart/form-data">
    图片<input type="file" name="photo"/>
    <input type="submit" value="上传"/>
</form>
</body>
</html>